package com.chongqing.shiro.web.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Description: -------------------
 * @Author: YangXingfu
 * @Date: 2019/01/21 13:11
 */

@Controller
public class RenderController {

    /*工作台*/
    @RequestMapping(value = "/workdest", method = RequestMethod.GET)
    public String workdest() {
        return "index/workdesk";
    }

    /**用户列表*/
    @RequestMapping(value = "/users", method = RequestMethod.GET)
    public String userList() {
        return "user/list";
    }

    /**角色列表入口*/
    @RequestMapping(value = "/roles", method = RequestMethod.GET)
    public String roleList() {
        return "role/list";
    }

    /**权限列表*/
    @RequestMapping(value = "/permissions", method = RequestMethod.GET)
    public String permissionList() {
        return "permission/list";
    }

    /**在线用户入口*//*
    @RequestMapping(value = "online/users", method = RequestMethod.GET)
    public String onlineUsers() {
        return "onlineUser/list";
    }*/
}